package com.heima.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Node {
    private Long id;
    private Long regionId;
    private String name;
    private String addr;
    private String areaCode;
    private Integer createUserId;
    private Integer businessId;
    private Integer ownerId;
    private String ownerName;
    @DateTimeFormat(pattern ="yyyy-MM-ddTHH:mm:ss")
    private LocalDateTime updateTime;
    @DateTimeFormat(pattern ="yyyy-MM-ddTHH:mm:ss")
    private LocalDateTime createTim;

}
